import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import {MyloginComponent} from "./mylogin/mylogin.component";
import {MymenuComponent} from "./mymenu/mymenu.component";

const routes: Routes = [
  {path:'mylogin',component:MyloginComponent},
  {path:'mymenu',component:MymenuComponent}
];

@NgModule({
  imports: [RouterModule.forRoot(routes)],
  exports: [RouterModule]
})
export class AppRoutingModule { }
